package priv.yiyuan.example.design.visitor;

import java.math.BigDecimal;

/**
 * ERP 系统数据
 *
 * @author YiYuan
 * @data 2025/7/30
 * @apoNote
 */
public class ErpOrderData implements SystemData {

    private String orderId;

    private String customerId;

    private BigDecimal amount;

    public ErpOrderData(String orderId, String customerId, BigDecimal amount) {
        this.orderId = orderId;
        this.customerId = customerId;
        this.amount = amount;
    }

    public String getOrderId() {
        return orderId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    @Override
    public void accept(DataSyncVisitor visitor) {
        visitor.visit(this);
    }
}
